-
Couldn't load subscription status.
- Fork 117
Improve openentelemetry-auto-laravel test definitions for Eloquent hooks. #394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve openentelemetry-auto-laravel test definitions for Eloquent hooks. #394
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks for tidying it up! ⭐
src/Instrumentation/Laravel/tests/Integration/Database/Eloquent/ModelTest.php
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #394 +/- ##
============================================
- Coverage 83.87% 83.42% -0.46%
- Complexity 1726 1949 +223
============================================
Files 114 142 +28
Lines 7293 8143 +850
============================================
+ Hits 6117 6793 +676
- Misses 1176 1350 +174 Flags with carried forward coverage won't be shown. Click here to find out more. see 29 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
Review reflected, and add missing test case for delete hook. (I forgotten) |
Based on this review, I try to split the test cases related to Database\Eloquent\Model Hooks to a smaller dependency and simple test cases.
(Also added test cases for hooks that were not tested.)